<?php

/**
 * @author     Thibaut Cromphaut and Dimitry Dierickx
 * @copyright  Copyright (c) 2011 Safti-Kado
 */
class Application_Form_EditPromotion extends Zend_Form
{

    public function init()
    {
        $this->addElement('hidden', 'promotion_id', array(
            'label'      => '',
        ));

        $this->addElement('text', 'promotion_title', array(
            'label'      => 'Promotie:',
            'required'   => true,
            'filters'    => array('StringTrim'),

        ));

        /*$this->addElement('textarea', 'promotion_description', array(
            'label'      => 'Beschrijving',
            'required'   => true,
            'filters'    => array('StringTrim'),
        ));

        $this->addElement('textarea', 'promotion_content', array(
            'label'      => 'Inhoud:',
            'required'   => true,
            'filters'    => array('StringTrim'),
        ));*/
        
        $this->addElement('text', 'promotion_price_old', array(
            'label'      => 'Oud:',
            'required'   => true,
            'filters'    => array('StringTrim'),
        ));
        
        $this->addElement('text', 'promotion_price_new', array(
            'label'      => 'Nieuw:',
            'required'   => true,
            'filters'    => array('StringTrim'),
        ));
        
        $this->addElement('submit', 'edit', array(
            'label'      => 'Opslaan',
        ));

        /*$this->addElement('hash', 'no_csrf_registration', array(
            'salt' => 'unique',
        ));*/
    }
}

